﻿namespace MadeEasy.RealEstate.Model
{
    /// <summary>
    /// A user for the Application contains all information concerning Authorization / Authentication
    /// </summary>
    public class User
    {
        /// <summary>
        /// Primary Key in data store
        /// </summary> 
        public long Key { get; set; }

        /// <summary>
        /// Unique name of the user, used to identify 
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// unique used e-mail-address for communicating with the user beyond the application
        /// </summary>
        public string EMailAddress { get; set; }

        /// <summary>
        /// used password to login
        /// </summary>
        public string Password { get; set; }
    }
}